﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="PageControl.ascx.cs"
    Inherits="HaiFang.PageControl" %>
<table class="gridViewSkin" style="text-align: center; border: 1px solid #d6d6d6;
    border-top: none; width: 100%;">
    <tr align="center">
        <td>
            <asp:Button ID="btFirst" runat="server" CssClass="go-wenbenkuang" Text=" 首 页" BorderStyle="Groove"
                OnClick="btFirst_Click"></asp:Button>&nbsp;
            <asp:Button ID="btPre" runat="server" CssClass="go-wenbenkuang" Text="上一页" BorderStyle="Groove"
                OnClick="btPre_Click"></asp:Button>&nbsp;
            <asp:Button ID="btNext" runat="server" CssClass="go-wenbenkuang" Text="下一页" BorderStyle="Groove"
                OnClick="btNext_Click"></asp:Button>&nbsp;
            <asp:Button ID="btLast" runat="server" CssClass="go-wenbenkuang" Text=" 尾 页" BorderStyle="Groove"
                OnClick="btLast_Click"></asp:Button>&nbsp;
            <asp:Label ID="lbPage" runat="server"></asp:Label>&nbsp; 跳转
            <asp:TextBox ID="txtPageNum" runat="server" CssClass="wenbenkuang" Width="30px" MaxLength="3"></asp:TextBox>
            <asp:CompareValidator ID="Comparevalidator4" runat="server" ControlToValidate="txtPageNum"
                Display="Dynamic" ErrorMessage="输入数字" Operator="DataTypeCheck" Type="Integer"></asp:CompareValidator>页
            <asp:Button ID="btGo" runat="server" CssClass="go-wenbenkuang" Text="Go" OnClick="btGo_Click">
            </asp:Button>
        </td>
    </tr>
</table>
